
package io.zhifei.modules.app.login.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 注册表单
 *
 * @author Mark sunlightcs@gmail.com
 */
@Data
@ApiModel(value = "注册表单")
public class RegisterForm {
    @ApiModelProperty(value = "手机号")
    private String tel;

    @ApiModelProperty(value = "账号名称")
    @NotBlank(message = "账号名称")
    private String userName;

    @ApiModelProperty(value = "密码")
    private String passWord;

    @ApiModelProperty(value = "注册码")
    @NotBlank(message = "注册码")
    private String registrationCode;

    @ApiModelProperty(value = "输入的注册码")
    @NotBlank(message = "输入注册码")
    private String inputCode;

}
